import type { App } from 'vue'

import { create, NButton, NIcon } from 'naive-ui'

/** 按需引入naiveUI */
export default function setupNaiveUI(app: App) {
	const naive = create({
		components: [NButton, NIcon]
	})
	app.use(naive)
}
